﻿<UserControl 
    x:Class="BlueMarble.Genesis.View.MainView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:Regions="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
    xmlns:InfrastructureHelpers="clr-namespace:BlueMarble.Genesis.Infrastructure.Helpers;assembly=BlueMarble.Genesis.Infrastructure"
    xmlns:InfrastructureControls="clr-namespace:BlueMarble.Genesis.Infrastructure.Controls;assembly=BlueMarble.Genesis.Infrastructure"
    mc:Ignorable="d" 
    d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <InfrastructureHelpers:ResourceWrapper x:Key="InfrastructureResourceWrapper" />
    </UserControl.Resources>
    <Grid>
        <InfrastructureControls:TabControl
            Regions:RegionManager.RegionName="{Binding RegionNames.MainTabRegion, Source={StaticResource InfrastructureResourceWrapper}}"
            Regions:RegionManager.RegionManager="{Binding Path=RegionManager}"
            Style="{StaticResource BlackBarTabControlResourceKey}" />
    </Grid>
</UserControl>

